<?php
if (! defined ( FLAG )){ trigger_error('Access error!', E_USER_ERROR); die; }

$hdl = opendir ( CORE_DIR . '/' . CLASS_DIR );
while ( $a = readdir ( $hdl ) ) {
	$fullAdr = CORE_DIR . '/' . CLASS_DIR . '/' . $a;
	if ($a != '.' && $a != '..' && is_file ( $fullAdr ) && strpos ( $a, '.php' ) !== false)
		include ($fullAdr);
}
closedir ( $hdl );
?>